home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000070_news@columbia.edu _Wed Sep 1 12:49:53 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA15621
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 1 Sep 1999 12:49:53 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA09984
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 1 Sep 1999 12:37:32 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: VMS batch not showing file transfer info ?? - BETA 6
  11. Date: 1 Sep 1999 16:37:31 GMT
  12. Organization: Columbia University
  13. Message-ID: <7qjkob$9nt$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <7qh677$jah$1@bashir.ici.net>,
  17. Michael Hamelin <hamelin@ici.net> wrote:
  18. : Ran beta 4...still no batch information being displayed...get TT error
  19. : message and no output.
  20. : version 5 - 188 was fine...scripts haven't changed, nor the account it runs
  21. : from. This is a problem with Version 7 - beta 4 & 6...is this fixed yet ?
  22. I don't know what's broken.  If I create the following batch job:
  23.  
  24.   $ IF F$MODE() .EQS. "BATCH" THEN SET NOVERIFY
  25.   $ write sys$output "Hello from Batch job"
  26.   $ kermit
  27.   def passwd xxxxxxxxxxx
  28.   def userid fdc
  29.   set prompt {}
  30.   echo Hello from \v(program)
  31.   asg prompt {\13\10$ }
  32.   set exit warning off
  33.   set login userid {}
  34.   set input timeout quit
  35.   set input echo on
  36.   set host some.host.name.com
  37.   input 20 login:
  38.   lineout \m(userid)
  39.   input 5 Password:
  40.   lineout \m(passwd)
  41.   input 30 \m(prompt)
  42.   lineout cd tmp
  43.   input 5 \m(prompt)
  44.   lineout kermit -r
  45.   input 5 READY TO RECEIVE...
  46.   send foo.bar
  47.   pause 1
  48.   lineout exit
  49.   pause 1
  50.   exit
  51.   $ write sys$output "Batch job finished"
  52.  
  53. and SUBMIT it, using C-Kermit 7.0.196 Beta.09 on VMS, it runs exactly as
  54. expected -- that is, it logs into the remote computer and sends it a file,
  55. and creates a batch log file containing a transcript of the session.
  56.  
  57. (Note that I don't recommend putting passwords in batch files, but that's
  58. another matter.)
  59.  
  60. - Frank